// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import { isPrimitive } from 'util';
import VueLazyload from 'vue-lazyload'


Vue.config.productionTip = false

import VueAwesomeSwiper from 'vue-awesome-swiper';

Vue.use(VueAwesomeSwiper);
import 'swiper/dist/css/swiper.css'

Vue.use(VueLazyload, {
    preLoad: 1.3,
    error: 'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1027724138,1778895285&fm=27&gp=0.jpg',
    loading: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1519895992557&di=02e87e639380bd601a7f9286a6dae117&imgtype=0&src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F01e9875542c6380000019ae955160b.jpg',
    attempt: 1
})



/* eslint-disable no-new */
new Vue({
    el: '#app',
    components: { App },
    template: '<App/>',
    router

})